<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TMP_ARTICLE</title>
<link rel="stylesheet" type="text/css" href="${ctx}/style/jw/css/jw.css" />

<%-- <script charset="utf-8" id="seajsnode" src="${ctx}/style/sea-modules/seajs/seajs/2.2.1/sea.js"></script>  --%>
<!--分页跳转代码-->
<script type="text/javascript">
function topage(page,id){

	window.location.href="/shed/"+id+"?page="+page;
}

</script>

</head>
<body>
<div class="thead-02-FCD-app">
 <ul class="wtc_tabs">
    <li class="active"><a href="#wtc_tab1">功能页面一</a></li>
    <li><a href="#wtc_tab2" id="">功能页面二</a></li>
    <li><a href="#wtc_tab3">功能页面三</a></li>
    <li><a href="#wtc_tab4">功能页面四</a></li>
  </ul>
</div>
<div class="container">
  <div class="wtc_tab_container">
  <!--切换页面一-->
    <div id="wtc_tab1" class="wtc_tab_content" style="display: block; ">
      <div style="margin: 10px 0px;">
<a class="jw_btn Jw_custom add" shedate="${shedId}" sortdate="${sortId}">添加文章</a>
<a class="jw_btn jw_btn_large deletes" shedate="${shedId}" sortdate="${sortId}">批量删除</a>
</div>
<table class="jw_table jw_table_border">
      <thead>
        <tr>
          <th style="width: 50px;"><input type="checkbox" class="all_selected"/></th>
          <th>文章标题</th>
          <th>发布时间</th>
          <th>发布人</th>
          <th style="width: 96px;">操作</th>
        </tr>
      </thead>
      
      <tbody>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>mark</td>
          <td>Tompson</td>
          <td>the_mark7</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Ashley</td>
          <td>Jacobs</td>
          <td>ash11927</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Audrey</td>
          <td>Ann</td>
          <td>audann84</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>John</td>
          <td>Robinson</td>
          <td>jr5527</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Aaron</td>
          <td>Butler</td>
          <td>aaron_butler</td>
          <td>
               <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Chris</td>
          <td>Albert</td>
          <td>cab79</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
      </tbody>
      <tfoot>
         <tr>
             <td colspan="5">
               <div class="pagination">
			<a style="cursor: pointer;" onclick="topage2222('1')" title=" 首页">&laquo; 首页</a>
			<c:if test="${pageView.currentpage>pageView.pageindex.startindex}">
				<a style="cursor: pointer;" onclick="topage2222('${pageView.currentpage-1}')" title="上一页">&#60; 上一页</a>
			</c:if>
			<c:if test="${pageView.currentpage<=pageView.pageindex.startindex}">
				<a style="color: gray" title="已经是第一页">&#60; 上一页</a>
			</c:if>
			<c:forEach begin="${pageView.pageindex.startindex}" end="${pageView.pageindex.endindex}" var="wp">
				<c:if test="${pageView.currentpage==wp}">
					<a class="number current">${wp}</a>
				</c:if>
				<c:if test="${pageView.currentpage!=wp}">
					<a style="cursor: pointer;" onclick="topage2222('${wp}')" class="number" title="跳至第${wp}页">${wp}</a>
				</c:if>
			</c:forEach>
			<c:if test="${pageView.currentpage>=pageView.pageindex.endindex}">
				<a style="color: gray" title="已经是最后一页">下一页 &gt;</a>
			</c:if>
			<c:if test="${pageView.currentpage<pageView.pageindex.endindex}">
				<a style="cursor: pointer;" onclick="topage2222('${pageView.currentpage+1}')" title="下一页">下一页 &gt;</a>
			</c:if>
			<a style="cursor: pointer;" onclick="topage2222('${pageView.totalpage}')" title="最后一页"> 尾页&raquo;</a> 
		</div>
             </td>
         </tr>
      </tfoot>
    </table>
    </div><!-- 切换页面一 结束-->
    <!--切换页面二-->
    <div id="wtc_tab2" class="wtc_tab_content" style="display: none; ">
      <div style="margin: 10px 0px;">
<a class="jw_btn green add" shedate="${shedId}" sortdate="${sortId}">添加文章</a>
<a class="jw_btn blue deletes" shedate="${shedId}" sortdate="${sortId}">批量删除</a>
</div>
<table class="jw_table jw_table_border">
      <thead>
        <tr>
          <th style="width: 50px;"><input type="checkbox" class="all_selected"/></th>
          <th>文章标题</th>
          <th>发布时间</th>
          <th>发布人</th>
          <th style="width: 96px;">操作</th>
        </tr>
      </thead>
      
      <tbody>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>mark</td>
          <td>Tompson</td>
          <td>the_mark7</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Ashley</td>
          <td>Jacobs</td>
          <td>ash11927</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Audrey</td>
          <td>Ann</td>
          <td>audann84</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>John</td>
          <td>Robinson</td>
          <td>jr5527</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Aaron</td>
          <td>Butler</td>
          <td>aaron_butler</td>
          <td>
               <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
        <tr>
          <td><input type="checkbox" name="items"/></td>
          <td>Chris</td>
          <td>Albert</td>
          <td>cab79</td>
          <td>
              <a href="#" class="jw_btn_Modify" title="修改"></a>
              <a href="#" class="jw_btn_delete" title="删除"></a>
              <a href="#" class="jw_btn_upload" title="上传附件"></a>
          </td>
        </tr>
      </tbody>
      <tfoot>
         <tr>
             <td colspan="5">
               <div class="pagination">
			<a style="cursor: pointer;" onclick="topage2222('1')" title=" 首页">&laquo; 首页</a>
			<c:if test="${pageView.currentpage>pageView.pageindex.startindex}">
				<a style="cursor: pointer;" onclick="topage2222('${pageView.currentpage-1}')" title="上一页">&#60; 上一页</a>
			</c:if>
			<c:if test="${pageView.currentpage<=pageView.pageindex.startindex}">
				<a style="color: gray" title="已经是第一页">&#60; 上一页</a>
			</c:if>
			<c:forEach begin="${pageView.pageindex.startindex}" end="${pageView.pageindex.endindex}" var="wp">
				<c:if test="${pageView.currentpage==wp}">
					<a class="number current">${wp}</a>
				</c:if>
				<c:if test="${pageView.currentpage!=wp}">
					<a style="cursor: pointer;" onclick="topage2222('${wp}')" class="number" title="跳至第${wp}页">${wp}</a>
				</c:if>
			</c:forEach>
			<c:if test="${pageView.currentpage>=pageView.pageindex.endindex}">
				<a style="color: gray" title="已经是最后一页">下一页 &gt;</a>
			</c:if>
			<c:if test="${pageView.currentpage<pageView.pageindex.endindex}">
				<a style="cursor: pointer;" onclick="topage2222('${pageView.currentpage+1}')" title="下一页">下一页 &gt;</a>
			</c:if>
			<a style="cursor: pointer;" onclick="topage2222('${pageView.totalpage}')" title="最后一页"> 尾页&raquo;</a> 
		</div>
             </td>
         </tr>
      </tfoot>
    </table>
    </div><!--切换页面 end-->
    <!--切换页面三-->
    <div id="wtc_tab3" class="wtc_tab_content" style="display: none; ">
     		  <div style="margin: 10px 0px;">
<a class="jw_btn Jw_custom add" shedate="${shedId}" sortdate="${sortId}">添加文章</a>
<a class="jw_btn Jw_custom deletes" shedate="${shedId}" sortdate="${sortId}">批量删除</a>
</div>
    </div>    <!--切换页面三 结束-->
    <!--切换页面四-->
    <div id="wtc_tab4" class="wtc_tab_content" style="display: none; ">
      <h2>页面四</h2>

    </div><!--切换页面四 结束-->
  </div>
</div>


</body>
</html>